.class Lcom/estrongs/android/ui/navigation/ADUnlockAdapter$c;
.super Ljava/lang/Object;
.source "ADUnlockAdapter.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;->a(Lcom/estrongs/android/ui/navigation/ADUnlockAdapter$f;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/l;

.field final synthetic b:Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;Lcom/estrongs/android/pop/l;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/navigation/ADUnlockAdapter$c;->b:Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;

    iput-object p2, p0, Lcom/estrongs/android/ui/navigation/ADUnlockAdapter$c;->a:Lcom/estrongs/android/pop/l;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 2

    if-eqz p2, :cond_1

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    iget-boolean v0, v0, Lcom/estrongs/android/pop/FexApplication;->l:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockAdapter$c;->a:Lcom/estrongs/android/pop/l;

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->Z0()Z

    move-result v0

    if-nez v0, :cond_1

    .line 3
    iget-object p2, p0, Lcom/estrongs/android/ui/navigation/ADUnlockAdapter$c;->b:Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;

    invoke-static {p2}, Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;->b(Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;)Landroid/app/Activity;

    move-result-object p2

    const/4 v0, 0x0

    if-eqz p2, :cond_0

    .line 4
    iget-object p2, p0, Lcom/estrongs/android/ui/navigation/ADUnlockAdapter$c;->b:Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;

    invoke-static {p2}, Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;->b(Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;)Landroid/app/Activity;

    move-result-object p2

    const v1, 0x7f1103f3

    invoke-static {p2, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object p2

    .line 5
    invoke-virtual {p2}, Landroid/widget/Toast;->show()V

    .line 6
    :cond_0
    invoke-virtual {p1, v0}, Landroid/widget/CompoundButton;->setChecked(Z)V

    return-void

    .line 7
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/ui/navigation/ADUnlockAdapter$c;->a:Lcom/estrongs/android/pop/l;

    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/l;->w(Z)V

    return-void
.end method
